package com.fy.exam.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * <p>
 * 课程
 * </p>
 *
 * @author hxd
 * @since 2023-06-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("el_exam")
@ApiModel(value="Exam对象", description="课程")
public class Exam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "考试名称")
    private String title;

    @ApiModelProperty(value = "考试描述")
    private String content;

    @ApiModelProperty(value = "1公开2部门3定员")
    private Integer openType;

    @ApiModelProperty(value = "组题方式1题库,2指定")
    private Integer joinType;

    @ApiModelProperty(value = "难度:0不限,1普通,2较难")
    private Integer level;

    @ApiModelProperty(value = "考试状态")
    private Integer state;

    @ApiModelProperty(value = "是否限时")
    private Integer timeLimit;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "总分数")
    private Integer totalScore;

    @ApiModelProperty(value = "总时长（分钟）")
    private Integer totalTime;

    @ApiModelProperty(value = "及格分数")
    private Integer qualifyScore;

    @ApiModelProperty(value = "租户id")
    private String tenantId;

}
